package com.godfrey.mapper;

import com.godfrey.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
 * description : Mapper接口
 *
 * @author godfrey
 * @since 2020-05-21
 */
public interface UserMapper {
    //根据id查询用户
    User queryUserById(@Param("id") int id);

    //修改用户
    int updateUser(Map map);
}
